package cn.com.freelibra.forum.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.freelibra.forum.dao.JobMessageMapper;
import cn.com.freelibra.forum.po.JobMessage;
import cn.com.freelibra.forum.service.JobMessageService;

@Service("jobMessageService")  
public class JobMessageServiceImpl implements JobMessageService{

	@Resource
	JobMessageMapper dao;
	
	@Override
	public int saveJobMessage(JobMessage jobMessage) {
		// TODO Auto-generated method stub
		return dao.insert(jobMessage);
	}

	public int savebatchJobMessage(List<JobMessage> jobMessageList) {
		// TODO Auto-generated method stub
		return dao.batchInsert(jobMessageList);
	}

}
